<?php
// 假设这里获取的是上传进度，实际情况需要根据你的需求修改
$progress = $_SESSION['upload_progress'] ?? 0;

header('Content-Type: application/json');
echo json_encode(['progress' => $progress]);
?>
